﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Edu.Web.Data.DV;
using Edu.Web.Data.Entity;
using ESoft.Core.Data.Service;

namespace Edu.Web.Data.Service
{
    public interface IClazzService : IBaseService<ClazzEntity, long>
    {
        long SaveClazz(ClazzEntity clazzVO, long userId);

        List<ClazzListItemDV> LoadClazzByUserId(long userId, long userType);

        /// <summary>
        /// 获取班级学生列表
        /// </summary>
        /// <param name="clazzId"></param>
        /// <returns></returns>
        List<ClassStudentDV> LoadClazzStuByClazzId(long clazzId);
    }
}
